package com.yunkaweilai.android.model.member;

import java.util.List;

/**
 * 优惠活动
 * Created by Administrator on 2017/7/3.
 */

public class PreferentiaActivitiesModel {


    /**
     * loginCode : 1
     * code : 1
     * message : 成功
     * data : {"list":[{"id":"16","store_id":"4","sub_store_id":"5","is_first":"1","title":"优惠活动1","remarks":"555","date_type":"Month","date_type_content":"a:2:{s:9:\"start_day\";i:1;s:7:\"end_day\";i:31;}","date_type_contents":"每月1日至31日","discount_type":"RechargeToMoney","discount_goods_category_id":"0","discount_content":{"full_price":"300.00","free_price":"20.00","free_points":0,"pointstimes":0,"totle_price":"320.00"},"discount_contents":"充值满300元，送20元","image":"","success_recharge_num":"0","sort":"0","create_time":"2017-07-03 15:41:43","status":"1","create_id":"8","create_name":"admin","discount_types":"充值送金额","is_edit":true},{"id":"9","store_id":"4","sub_store_id":"5","is_first":"0","title":"洗头半价","remarks":"每星期三洗头半价","date_type":"Week","date_type_content":"a:3:{i:3;s:1:\"3\";i:5;s:1:\"5\";i:6;s:1:\"6\";}","date_type_contents":"每周星期三,星期五,星期六","discount_type":"RechargeToPoints","discount_goods_category_id":"0","discount_content":{"full_price":"200.00","free_points":"20","free_price":"0.00","pointstimes":0,"totle_price":"200.00"},"discount_contents":"充值满200元，送20分","image":"/Uploads/discount/4/14958514628024.png","success_recharge_num":"0","sort":"0","create_time":"2017-05-27 10:10:10","status":"1","create_id":"8","create_name":"admin","discount_types":"充值送积分","is_edit":true}]}
     */

    private int loginCode;
    private int code;
    private String message;
    private DataBean data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 16
         * store_id : 4
         * sub_store_id : 5
         * is_first : 1
         * title : 优惠活动1
         * remarks : 555
         * date_type : Month
         * date_type_content : a:2:{s:9:"start_day";i:1;s:7:"end_day";i:31;}
         * date_type_contents : 每月1日至31日
         * discount_type : RechargeToMoney
         * discount_goods_category_id : 0
         * discount_content : {"full_price":"300.00","free_price":"20.00","free_points":0,"pointstimes":0,"totle_price":"320.00"}
         * discount_contents : 充值满300元，送20元
         * image :
         * success_recharge_num : 0
         * sort : 0
         * create_time : 2017-07-03 15:41:43
         * status : 1
         * create_id : 8
         * create_name : admin
         * discount_types : 充值送金额
         * is_edit : true
         */

        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            private String id;
            private String store_id;
            private String sub_store_id;
            private String is_first;
            private String title;
            private String remarks;
            private String date_type;
            private String date_type_contents;
            private String discount_type;
            private String discount_goods_category_id;

            private DiscountContentBean discount_content;
            private String discount_contents;
            private String image;
            private String success_recharge_num;
            private String sort;
            private String create_time;
            private String status;
            private String create_id;
            private String create_name;
            private String discount_types;
            private boolean is_edit;
            private boolean is_click;

            public boolean is_edit() {
                return is_edit;
            }

            public boolean is_click() {
                return is_click;
            }

            public void setIs_click(boolean is_click) {
                this.is_click = is_click;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStore_id() {
                return store_id;
            }

            public void setStore_id(String store_id) {
                this.store_id = store_id;
            }

            public String getSub_store_id() {
                return sub_store_id;
            }

            public void setSub_store_id(String sub_store_id) {
                this.sub_store_id = sub_store_id;
            }

            public String getIs_first() {
                return is_first;
            }

            public void setIs_first(String is_first) {
                this.is_first = is_first;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getRemarks() {
                return remarks;
            }

            public void setRemarks(String remarks) {
                this.remarks = remarks;
            }

            public String getDate_type() {
                return date_type;
            }

            public void setDate_type(String date_type) {
                this.date_type = date_type;
            }


            public String getDate_type_contents() {
                return date_type_contents;
            }

            public void setDate_type_contents(String date_type_contents) {
                this.date_type_contents = date_type_contents;
            }

            public String getDiscount_type() {
                return discount_type;
            }

            public void setDiscount_type(String discount_type) {
                this.discount_type = discount_type;
            }

            public String getDiscount_goods_category_id() {
                return discount_goods_category_id;
            }

            public void setDiscount_goods_category_id(String discount_goods_category_id) {
                this.discount_goods_category_id = discount_goods_category_id;
            }

            public DiscountContentBean getDiscount_content() {
                return discount_content;
            }

            public void setDiscount_content(DiscountContentBean discount_content) {
                this.discount_content = discount_content;
            }

            public String getDiscount_contents() {
                return discount_contents;
            }

            public void setDiscount_contents(String discount_contents) {
                this.discount_contents = discount_contents;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getSuccess_recharge_num() {
                return success_recharge_num;
            }

            public void setSuccess_recharge_num(String success_recharge_num) {
                this.success_recharge_num = success_recharge_num;
            }

            public String getSort() {
                return sort;
            }

            public void setSort(String sort) {
                this.sort = sort;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreate_id() {
                return create_id;
            }

            public void setCreate_id(String create_id) {
                this.create_id = create_id;
            }

            public String getCreate_name() {
                return create_name;
            }

            public void setCreate_name(String create_name) {
                this.create_name = create_name;
            }

            public String getDiscount_types() {
                return discount_types;
            }

            public void setDiscount_types(String discount_types) {
                this.discount_types = discount_types;
            }

            public boolean isIs_edit() {
                return is_edit;
            }

            public void setIs_edit(boolean is_edit) {
                this.is_edit = is_edit;
            }

            public static class DiscountContentBean {
                private String full_price;
                private String free_price;
                private int free_points;
                private int pointstimes;
                private String totle_price;

                public String getFull_price() {
                    return full_price;
                }

                public void setFull_price(String full_price) {
                    this.full_price = full_price;
                }

                public String getFree_price() {
                    return free_price;
                }

                public void setFree_price(String free_price) {
                    this.free_price = free_price;
                }

                public int getFree_points() {
                    return free_points;
                }

                public void setFree_points(int free_points) {
                    this.free_points = free_points;
                }

                public int getPointstimes() {
                    return pointstimes;
                }

                public void setPointstimes(int pointstimes) {
                    this.pointstimes = pointstimes;
                }

                public String getTotle_price() {
                    return totle_price;
                }

                public void setTotle_price(String totle_price) {
                    this.totle_price = totle_price;
                }
            }
        }
    }
}
